import React from "react"
import ReactDOM from "react-dom"
import { BrowserRouter as Router } from "react-router-dom"
import App from "./App"
// 引入antd的css文件
import 'antd/dist/antd.css'
import zhCH from "antd/lib/locale/zh_CN"
import { ConfigProvider } from "antd"
import { Provider } from "react-redux"
import store from "./store/index"

ReactDOM.render(
  <Provider store={store}>
    <ConfigProvider locale={zhCH}>
      <Router>
        <App></App>
      </Router>
    </ConfigProvider>
  </Provider>,
  document.getElementById('root')
)
